
                    <form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
                        <div class="table-responsive">
                            <table class="table table-bordered table-hover" style="font-size:12px;">
                                <thead>
                                <tr>
                                    <td class="text-center">订单编号</td>
                                    <td class="text-center">收货信息</td>
                                    <td class="text-center">总金额</td>
                                    <td class="text-center">会员下单</td>
                                    <td class="text-center">订单状态</td>
                                    <td class="text-center">
                                        <a href="javascript:sort('add_time');">下单时间</a>
                                    </td>
                                    <td class="text-center">操作</td>
                                </tr>
                                </thead>
                                <tbody>
                                <volist name="orderList" id="list">
                                    <tr>
                                        <td class="text-center">{$list.order_sn}</td>
                                        <td class="text-center">
                                            <if condition="$list.distribution_way eq 2">到店自取<else/>{$list.username}[{$list.phone}]</if>
                                        </td>
                                        <td class="text-center">{$list.goods_price}</td>
                                        <td class="text-center">{$list.is_vip ? '是' : '否'}</td>
                                        <td class="text-center">{$shop_order_status[$list['order_status']]}</td>
                                        <td class="text-center">{$list.add_time|date='Y-m-d H:i',###}</td>
                                        <td class="text-center">
                                            <a href="{:U('order/detail',array('order_id'=>$list['order_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="查看详情"><i class="fa fa-eye"></i></a>
                                            <!--<a href="{:U('order/delete_order',array('order_id'=>$list['order_id']))}"  data-toggle="tooltip" class="btn btn-danger" title="删除"><i class="fa fa-trash-o"></i></a>-->
                                        </td>
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                        </div>
                    </form>
                    <div class="row">
                        <div class="col-sm-6 text-left"></div>
                        <div class="col-sm-6 text-right">{$page}</div>
                    </div>
<script>
    $(".pagination  a").click(function(){
        var page = $(this).data('p');
        ajax_get_table('search-form2',page);
    });
</script>